#code coloring
Explore tagged Tumblr posts
Text
Happy to discover that there's a name for one very useful alternative to mere "syntax" highlighting, which I naturally started doing for increased communication efficiency in my posts: semantic highlighting.
For example, each variable or function (within some scope) gets a distinct color.
Obviously in a limited color palette (like if I wanted to turn the results of a semantic highlighting library into Tumblr formatting which can still be manually edited without changing/losing color in the official post editors) you would perhaps have to reuse colors.
But if you have full RGB color space, a good move is to do what was described in this blog post: sort all identifiers, distribute them along a color spectrum.
For example, look at the way I use color in the code blocks of the `lambda-let` post. A syntax highlighter could never even come close to this. Automated semantic highlighting could get you most of the way there.
You do still need a mind's touch for things like choosing
yellow for both `let` and `apply-partially` (because both bind values to locally scoped variables, which is the relevant similarity in this case),
red for `lambda`,
orange for `lambda-let` (because it's the combination of those two).
Those are specific, intentionally suggestive choices that take into account semantics which you can only infer from the prose around the code.
So for blogging, I'd want the option of more manual control to put on those little finishing touches. Also, for blogging, you might even reasonably decide that in some situations syntax highlighting is better than semantic highlighting. (You might even decide that in the middle of editing/viewing code actually - I am a big believer in having a fast keybind to toggle code coloring - my ideal future setup instead cycles coloring between off, syntax, and semantic (possibly more than one for each kind).)
But for the most part, I think semantic highlighting is the superior approach, or at least is an umbrella that contains approaches which are superior for many cases. I would much rather that every IDE and code display used some basic semantic highlighting.
4 notes · View notes
fernsnailz · 2 years ago
Text
trying to draw while watching the new hbomberguy vid was a bad idea because for the entire second half i was like this
Tumblr media
72K notes · View notes
inverted-typo · 10 months ago
Text
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
Ooh fancy pants rich McGee over here ✨
13K notes · View notes
honetii · 2 years ago
Text
Tumblr media Tumblr media Tumblr media Tumblr media
I'm like super normal and not unhinged in the slightest (I spent 3 days formatting, printing, and binding a niche internet story about sci fi football into a 280 page physical book)
27K notes · View notes
spacebubblehomebase · 5 months ago
Text
Tumblr media Tumblr media Tumblr media Tumblr media
Bat brother doodles I made for another art booth week! Not all of them made it, but it's great practice to always be involved when you can! ^v^ Bonus random prompts too! -Bubbly💙❤️💛💚
Tumblr media Tumblr media Tumblr media Tumblr media
6K notes · View notes
glindauplland · 6 months ago
Text
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
MAKING WICKED: RETURN TO OZ
A behind-the-scenes journey
Tumblr media
4K notes · View notes
project-sekai-archives · 9 months ago
Text
Tumblr media
4K notes · View notes
hotcinnamonsunset · 1 year ago
Text
Tumblr media Tumblr media Tumblr media Tumblr media
nancy drew and the case of the color work sweater🔍
9K notes · View notes
ekholocationn · 17 days ago
Text
Tumblr media
i had a vision last night
1K notes · View notes
keysmashing-bees · 29 days ago
Text
Tumblr media
*sane, well adjusted person voice* Guys did you know you can unlock the secret happy ending to yellow jacket if you pause the video right after use it or lose it-
1K notes · View notes
messymoonmad · 2 months ago
Note
*points at calypso*
She crazy as hell but she my baby and I love her LOLL
Tumblr media Tumblr media
I finally finished designing her (more or less ?)
1K notes · View notes
huidol · 3 days ago
Text
Blue screen of death
Tumblr media
767 notes · View notes
kinky-cas · 4 months ago
Text
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
I love everybody because I love you
1K notes · View notes
n4391 · 5 months ago
Text
Tumblr media
It's not a cat?! (An Amphoreus chimera...)
1K notes · View notes
lovelylittlegrim · 6 months ago
Text
Steve Harrington who has been trying for weeks (maybe even months) to woo Eddie and keeps failing UNTIL he makes an offhand comment correctly referencing one of the groups nerd books. Weeks and weeks of using smooth lines that have never failed him until Eddie, and this is what gets him the guy? Nerd lingo he’s learned purely through osmosis.
Steve who is just standing there like “really? That’s what did it for you? Jesus Christ I can’t believe I’m going to kiss you.”
Eddie, completely shocked by this turn of events: “you want to kiss me?????”
And the whole party is in the background like: “he has for a while thank you for finally catching up before we took drastic measures”
2K notes · View notes
staticstag-png · 5 months ago
Text
Tumblr media
She's trapped please help
2K notes · View notes